package com.shxc.smarttrade.old.bean;

import java.util.List;

/**
 * Created by jcdev1 on 2017/10/9.
 */

public class PositionOrderList extends ErrorStatus {

    /**
     * data : {"traderOrder":[{"symbolCn":"澳元加元","symbolEn":"AUDCAD","cmd":0,"volume":0.01,"openPrice":0.9741,"closePrice":0.97249,"market":0.97249,"lever":100,"profit":-1.29,"ticket":4222115,"contractSize":100000,"profitChange":true,"profitUSDPrex":true,"profitCalCurrency":"USDCAD","bid":0.97249,"ask":0.97279,"occupyAsset":10,"marginRate":1,"margin":10,"tp":0,"sl":0,"openTime":"2017-10-09 11:32:27","swaps":0,"commission":0,"stopsLevel":100,"multiply":100000,"digits":5,"profitCurrency":"USDCAD","profitRate":null,"isCopy":0,"username":null,"userCode":null},{"symbolCn":"澳元加元","symbolEn":"AUDCAD","cmd":0,"volume":0.01,"openPrice":0.97418,"closePrice":0.97249,"market":0.97249,"lever":100,"profit":-1.35,"ticket":4222114,"contractSize":100000,"profitChange":true,"profitUSDPrex":true,"profitCalCurrency":"USDCAD","bid":0.97249,"ask":0.97279,"occupyAsset":10,"marginRate":1,"margin":10,"tp":0,"sl":0,"openTime":"2017-10-09 11:30:36","swaps":0,"commission":0,"stopsLevel":100,"multiply":100000,"digits":5,"profitCurrency":"USDCAD","profitRate":null,"isCopy":0,"username":null,"userCode":null}]}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<TraderOrder> traderOrder;

        public List<TraderOrder> getTraderOrder() {
            return traderOrder;
        }

        public void setTraderOrder(List<TraderOrder> traderOrder) {
            this.traderOrder = traderOrder;
        }
    }
}
